bug fix for views get query function if no bra is specified e.g. occugrid