Fixed error when fy is not in the database