fixes #2122 - Cannot search reports on environment name

Can now filter the reports based on environment.