Fix for Backgrid #496

Fix for https://github.com/wyuenho/backgrid/issues/496