Correctly detect the placeholder even if a placeholder class has been provided in the options