forceInsertTopBlock handles case where input is null/undefined