fixing bug in gatefunction evaluate

Signed-off-by: Alex McCaskey <mccaskeyaj@ornl.gov>
2 jobs for master in 10 minutes and 35 seconds (queued for 3 seconds)