Fixed PHP notices on the Blocks page.