Fixes bug with determining block access