Change elseif to else to simplify the dev notice logic
Specify filter used for dev notice.