Fixed parser bug in reports controller