Refactored the access check in the before filter into a separate function
Added min to related report number field