Custom year range not working