limit number of ids return by a gene query search to 5000, and display errror message if more are returned