Fix for BM datepickers