On using Boussinesq-type equations near the shoreline: a note of caution