Allow selected dates to behave like they should with beforeShowDay

Without this fix no matter what you do, selected dates will always only have the ui-state-highlight class.