Perhaps it was indeed wrong, but it sounds like that might be actually what those involved believed at the time.
A nuclear explosion would require Uranium enriched to at least 85%, whereas the fuel in RBMK reactors was only enriched to 2%. It's not just unlikely it's actually impossible.
In the case of Chernobyl, the concern was that upon contact with water (which acts as a neutron moderator in these circumstances) and given the inevitable sequence of steam explosions that would follow, some regions of superheated corium might be forced into prompt criticality events. These would technically qualify as nuclear explosions, but the sequence of events required to get from this set of increasingly improbable assumptions to anything remotely close to a megaton range explosion is, as I said, improbable to the point of being trivially dismissable.
[1] EDIT: I realized I should probably point out for clarity that I'm referencing the traditional measures for a critical mass - the mass required for a homogenous sphere of a given material to go critical. Determining the critical mass for a highly inhomogenous material of complex geometry, highly varied temperature and potentially surrounded by neutron reflecting substances is not a trivial task.
But yes, certainly the melted fuel becoming critical and/or causing more steam explosions could have made the Chernobyl accident worse than it already was.