Added Border check when getting block